package com.video.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.po.VideoItem;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 路亚
 * @version 0.1
 * @className VideoItemMapper
 * @description
 * @date 2024/12/13 15:27
 * @since jdk11
 */
@Mapper
public interface VideoItemMapper extends BaseMapper<VideoItem> {

    @Delete("delete from video_item where video_id = #{id}")
    void deleteByVideoId(Long id);
}
